package com.itheima.stock.service;

import com.itheima.stock.domain.InnerMarketDomain;
import com.itheima.stock.domain.StockBlockDomain;
import com.itheima.stock.domain.StockUpdownDomain;
import com.itheima.stock.pojo.StockBusiness;
import com.itheima.stock.vo.resp.PageResult;
import com.itheima.stock.vo.resp.R;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface StockService {
    List<StockBusiness> getAll();

    R<List<InnerMarketDomain>> innerIndexAll();

    R<List<StockBlockDomain>> sectorAllLimit();

    R<List<StockUpdownDomain>> stockIncreaseLimit();

    R<PageResult<StockUpdownDomain>> stockPage(Integer page, Integer pageSize);

    void stockExport(HttpServletResponse response, Integer page, Integer pageSize);
}
